var mongoose = require('mongoose'),
    materializedPlugin = require('mongoose-materialized'),
    Schema = mongoose.Schema;

    var CateSchema = new Schema({
       text:{type:String},
       
      
       
       date:{type:Date,default:Date.now}
      });
      
      
      CateSchema.plugin(materializedPlugin);
      module.exports = mongoose.model('Cate',CateSchema,'cate');